package xyz.csmcool.imuser;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@ComponentScan({"xyz.csmcool"})
@EnableSwagger2
@SpringBootApplication
@MapperScan("xyz.csmcool.imuser.mapper")
@EnableFeignClients
@EnableHystrix
public class ImuserApplication {

    public static void main(String[] args) {
        SpringApplication.run(ImuserApplication.class, args);
    }

}
